import request from '@/utils/request';
//上传图片或视频
export function upload(params) {
    return request({
        url: '/upload',
        method: 'POST',
        data: params
    })
}
//获取客户端直传签名
export function signature(params) {
    return request({
        url: '/signature',
        method: 'POST',
        data: params
    })
}
//清除缓存
export function cleanCache(params) {
    return request({
        url: '/clean_cache',
        method: 'POST',
        data: params
    })
}
//生成sitemap
export function makeSitemap(params) {
    return request({
        url: '/make_sitemap',
        method: 'POST',
        data: params
    })
}
